package p270jp.pxv.android.viewholder;

import android.view.View;
import android.view.ViewGroup;
import androidx.recyclerview.widget.RecyclerView;
import p014ae.View$OnClickListenerC0163u;
import p189gn.AbstractC3435a;
import p216hn.DefaultConstructorMarker;
import p270jp.pxv.android.R;
import p314lg.ViewHolderLiveGiftMoreBinding;
import p325m0.MutabilityOwnership;
import p603wm.Unit;
import p652yj.C7346b;

/* compiled from: LiveGiftingMoreItemViewHolder.kt */
/* renamed from: jp.pxv.android.viewholder.LiveGiftingMoreItemViewHolder */
/* loaded from: classes2.dex */
public final class LiveGiftingMoreItemViewHolder extends RecyclerView.AbstractC0819y {
    private final ViewHolderLiveGiftMoreBinding binding;
    public static final Companion Companion = new Companion(null);
    public static final int $stable = 8;

    /* compiled from: LiveGiftingMoreItemViewHolder.kt */
    /* renamed from: jp.pxv.android.viewholder.LiveGiftingMoreItemViewHolder$Companion */
    /* loaded from: classes2.dex */
    public static final class Companion {
        private Companion() {
        }

        public /* synthetic */ Companion(DefaultConstructorMarker eVar) {
            this();
        }

        public final LiveGiftingMoreItemViewHolder createViewHolder(ViewGroup viewGroup) {
            ViewHolderLiveGiftMoreBinding a7Var = (ViewHolderLiveGiftMoreBinding) C7346b.m327a(viewGroup, "parent", R.layout.view_holder_live_gift_more, viewGroup, false);
            MutabilityOwnership.m3746l(a7Var, "binding");
            return new LiveGiftingMoreItemViewHolder(a7Var, null);
        }
    }

    private LiveGiftingMoreItemViewHolder(ViewHolderLiveGiftMoreBinding a7Var) {
        super(a7Var.f2666e);
        this.binding = a7Var;
    }

    public /* synthetic */ LiveGiftingMoreItemViewHolder(ViewHolderLiveGiftMoreBinding a7Var, DefaultConstructorMarker eVar) {
        this(a7Var);
    }

    /* renamed from: a */
    public static /* synthetic */ void m4422a(AbstractC3435a aVar, View view) {
        m12325onBindViewHolder$lambda0(aVar, view);
    }

    /* renamed from: onBindViewHolder$lambda-0 */
    public static final void m12325onBindViewHolder$lambda0(AbstractC3435a aVar, View view) {
        MutabilityOwnership.m3745m(aVar, "$onClickMore");
        aVar.invoke();
    }

    public final void onBindViewHolder(String str, AbstractC3435a<Unit> aVar) {
        MutabilityOwnership.m3745m(aVar, "onClickMore");
        this.binding.f21321q.setText(str);
        this.binding.f21321q.setOnClickListener(new View$OnClickListenerC0163u(aVar, 26));
    }
}
